package com.yuwubao.uav.tool.service.impl;

import com.yuwubao.framework.bean.PageData;
import com.yuwubao.uav.tool.mapper.TaskMapper;
import com.yuwubao.uav.tool.service.RoutePlanningService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <Description>
 *
 * @author wk
 * @version V1.0
 * @Date 2018/8/15 11:09
 * @see com.yuwubao.uav.tool.service.impl
 */
@Service
@EnableAsync
public class RoutePlanningServiceImpl implements RoutePlanningService {

    public static final Logger logger = LogManager.getLogger(RoutePlanningServiceImpl.class.getName());

    @Resource
    public TaskMapper taskMapper;

    @Override
    @Async
    public void calculation(String batchNo, List<PageData> list) throws Exception {


        try {

        } catch (Exception e) {
            logger.error("", e);
        }
    }
}
